package com.artPreter.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.artPreter.pojo.Picture;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 图片表 服务类
 * </p>
 *
 * @author jarvis
 * @since 2024-11-21
 */
public interface IPictureService extends IService<Picture> {

    void add(Picture picture);

    void edit(Picture picture);

    void delete(Picture picture);

    IPage<Picture> getPage(Integer currentPage, Integer size, Picture picture);

    IPage<Picture> getPageNoRelative(Integer currentPage, Integer size, Picture picture);

    void addToRelative(Picture picture);

    IPage<Picture> getPageRelative(Integer currentPage, Integer size, Picture picture);

    void removePictureRelative(Picture picture);

    void deleteByArtistId(String artistId);
}
